package com.zhongchaowuye.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.zhongchaowuye.pojo.A_GYSh;

@Mapper
@Repository("a_GYShDao")
public interface A_GYShDao 
{
	public int insertA_GYSh(A_GYSh a_GYSh);//新增
	public int updateA_GYSh(A_GYSh a_GYSh);//修改
	public int delA_GYSh(A_GYSh a_GYSh);//删除
	public A_GYSh getA_GYSh(A_GYSh a_GYSh);//根据id获取A_GYSh对象信息
	public List<Map<String,Object>> getA_GYShList(A_GYSh a_GYSh);//查询列表
	public List<Map<String,Object>> getPhoneList(A_GYSh a_GYSh);//查询指定供应商的电话
	
	//以下是为了业务补充的
	public List<Map<String,Object>> getA_GYShList_quchongming(A_GYSh a_GYSh);//查询列表（合并重名）
}
